﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Base
{
    public class BaseEntity : BaseId
    {
        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(InsertServerTime=true)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(InsertServerTime = true,UpdateServerTime =true)]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long CreateUser { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long UpdateUser { get; set; }
    }
}
